<!-- 设置内容 -->
<div class="content">
  <form name="myFORM" action="" method="post" class="form-horizontal" id="activity_set_form">
    <table style='width:100%;' class="table table-bordered">
      <tbody>
        <tr>
          <td align="center">活动标题</td>
          <td></td>
        </tr>
        <tr>
          <td align="center">活动封面</td>
          <td>
            <input type="button"  name="upfile"  value="上传图片"  class="btn btn-danger upload" onClick="logo_up();">
            <input name="Form[img]" type="text" value="/site_info/1/img/flash20170226115542.png"  class="form-control"><span class="c_red">*必须传图片，只能传一张1000*155</span>
          </td>
        </tr>
        <tr >
          <td align="center">显示位置</td>
          <td>
            <label class="fwn"><input type="checkbox" name="PC">&nbsp;&nbsp;PC</label>
            <label class="fwn"><input type="checkbox" name="IOS">&nbsp;&nbsp;IOS</label>
            <label class="fwn"><input type="checkbox" name="安卓">&nbsp;&nbsp;安卓</label>
            <label class="fwn"><input type="checkbox" name="WAP">&nbsp;&nbsp;WAP</label>
          </td>
        </tr>
        <tr>
          <td align="center">过期时间：</td>
          <td><input name="deadtime" type="text" value="0" class="form-control"></td>
        </tr>
        <tr>
          <td align="center">排序：</td>
          <td><input name="sort" type="text" value="0" class="form-control"></td>
        </tr>
       <!--  <tr>
          <td  align="center">图片内容：</td>
          <td>
            <input name="Form[img]" type="text" value="请选择图片"  class="form-control" style='width:300px;'>
            <input type="button"  name="upfile"  value="上传图片"  class="btn btn-danger upload" onClick="logo_up();">（提示：删除输入框内的图片链接后点击保存，即可删除图片）
          </td>
        </tr> -->
        
        <tr>
          <td align="center">内容：</td>
          <td>
            <script id="editor" type="text/plain" style="width:100%;height:300px;"></script>
          </td>
        </tr>
      </tbody>
    </table>
  </form>
</div>
<script type="text/javascript">

  UE.getEditor('editor',{
        toolbars:[['source','bold','italic','underline','fontborder','forecolor','backcolor','fontsize','fontfamily','justifyleft','justifycenter','justifycenter','indent','removeformat','customstyle','paragraph','rowspacingbottom','rowspacingtop','lineheight','spechars','insertunorderedlist','insertorderedlist',]],
        elementPathEnabled: false,//删除元素路径
        wordCount: false    //删除字数统计
    });

  function logo_up(){
    //弹出框层
    layer.open({
      type: 1,
      content: $('#logo_up').html()
    });
  }
</script>